package com.cy.study.common;

/**
 * @version v1.0.0
 * @explain
 * @date 2024/3/18 9:05
 */
public class CommonConstant {

    //token名
    public final static String STUDY_HEADER = "study-token";

    //签名加密key
    public final static String TOKEN_SIGN_KEY = "study-cy";

    //密码加密盐
    public final static String PASSWORD_SALT = "cy@123456";

    //缓存统一前缀
    public final static String TOKEN_PREFIX = "token:";

    //token有效期 暂定12小时
    public final static Integer TOKEN_VALID_SECONDS = 60*60*12;

    //替代userId
    public final static Integer USER_ID = 1;

    //默认密码
    public final static String NORMAL_PASSWORD = "123456";

    //商品库存预警数量
    public final static Integer WARN_COUNT = 5;

    //头像路径
    public final static String HEADER_PATH = "D:/ideaProject/studyimg/";
    //public final static String LINUX_PATH = "/opt/study/studyimg/";

    //文件路径
    public final static String FILE_PATH = "D:/ideaProject/studyfile/";
    //public final static String LINUX_PATH = "/opt/study/studyfile/";

}
